#ifndef __STATICDATA_ITEMINFO3D_H__
#define __STATICDATA_ITEMINFO3D_H__

#include "DataInfoManagerTemplate3D.h"

class CItemInfo3D
{
public:
	int nItemType;
	int nItemType2;
	int nItemType3;
	//char szItemName[64];
	std::string strItemName;
	int nCount;

	void Read(IFileVisitorIterator& rEV);
	void GetID(int & rX, int & rY, int & rZ)
	{
		rX = nItemType;
		rY = nItemType2;
		rZ = nItemType3;
	}
	void Update(CItemInfo3D & rItemInfo3D);
	void Serialize(ISerializer & rSerializer);
};

typedef CDataInfoManagerTemplate3D< CItemInfo3D > CItemInfo3DManager;

DEF_MANAGER_INTERFACE_3D(ItemInfo3D, CItemInfo3D, CItemInfo3DManager)

#endif //__STATICDATA_ITEMINFO3D_H__